[INFO] fetching crate persistence 0.0.5...
[INFO] checking persistence-0.0.5 against try#5c7108a2805ef56743d713d2789c5e802631c9e8 for pr-97739
[INFO] extracting crate persistence 0.0.5 into /workspace/builds/worker-1/source
[INFO] validating manifest of crates.io crate persistence 0.0.5 on toolchain 5c7108a2805ef56743d713d2789c5e802631c9e8
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5c7108a2805ef56743d713d2789c5e802631c9e8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate persistence 0.0.5
[INFO] finished tweaking crates.io crate persistence 0.0.5
[INFO] tweaked toml for crates.io crate persistence 0.0.5 written to /workspace/builds/worker-1/source/Cargo.toml
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5c7108a2805ef56743d713d2789c5e802631c9e8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5c7108a2805ef56743d713d2789c5e802631c9e8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+5c7108a2805ef56743d713d2789c5e802631c9e8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c50abb8eaf770b2f3999669f8925c37d5d3b02409df2a271153a2e7e862c26df
[INFO] running `Command { std: "docker" "start" "-a" "c50abb8eaf770b2f3999669f8925c37d5d3b02409df2a271153a2e7e862c26df", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c50abb8eaf770b2f3999669f8925c37d5d3b02409df2a271153a2e7e862c26df", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c50abb8eaf770b2f3999669f8925c37d5d3b02409df2a271153a2e7e862c26df", kill_on_drop: false }`
[INFO] [stdout] c50abb8eaf770b2f3999669f8925c37d5d3b02409df2a271153a2e7e862c26df
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+5c7108a2805ef56743d713d2789c5e802631c9e8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 01c790caddde05640e2f37b83bdba0a0ae06d4ae4c3c661e2a0155eadc1a573a
[INFO] running `Command { std: "docker" "start" "-a" "01c790caddde05640e2f37b83bdba0a0ae06d4ae4c3c661e2a0155eadc1a573a", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.126
[INFO] [stderr]    Compiling autocfg v1.1.0
[INFO] [stderr]     Checking fastrand v1.7.0
[INFO] [stderr]     Checking remove_dir_all v0.5.3
[INFO] [stderr]     Checking cfg-if v1.0.0
[INFO] [stderr]    Compiling memoffset v0.5.6
[INFO] [stderr]     Checking memmap v0.7.0
[INFO] [stderr]     Checking fs2 v0.4.3
[INFO] [stderr]     Checking tempfile v3.3.0
[INFO] [stderr]     Checking persistence v0.0.5 (/opt/rustwide/workdir)
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/lib.rs:258:9
[INFO] [stdout]     |
[INFO] [stdout] 258 |     let mut mm = unsafe { MmapMut::map_mut(&file)? };
[INFO] [stdout]     |         ----^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `file` and `mm` are never read
[INFO] [stdout]    --> src/lib.rs:146:3
[INFO] [stdout]     |
[INFO] [stdout] 144 | pub struct MmapedVec<T>
[INFO] [stdout]     |            --------- fields in this struct
[INFO] [stdout] 145 | {
[INFO] [stdout] 146 |   file: File,
[INFO] [stdout]     |   ^^^^^^^^^^
[INFO] [stdout] 147 |   mm: MmapMut,
[INFO] [stdout]     |   ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]    --> src/lib.rs:400:20
[INFO] [stdout]     |
[INFO] [stdout] 400 |     assert!(mv_err.description().ends_with("Magic bytes mismatch."));
[INFO] [stdout]     |                    ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]    --> src/lib.rs:418:20
[INFO] [stdout]     |
[INFO] [stdout] 418 |     assert!(mv_err.description().contains("shorter than the expected header size"));
[INFO] [stdout]     |                    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]    --> src/lib.rs:436:20
[INFO] [stdout]     |
[INFO] [stdout] 436 |     assert!(mv_err.description().contains("not an integer multiple of the size of the data type"));
[INFO] [stdout]     |                    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]    --> src/lib.rs:456:20
[INFO] [stdout]     |
[INFO] [stdout] 456 |     assert!(mv_err.description().ends_with("Endianness-marker invalid."));
[INFO] [stdout]     |                    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]    --> src/lib.rs:482:20
[INFO] [stdout]     |
[INFO] [stdout] 482 |     assert!(mv_err.description().ends_with("Wrong endianness."));
[INFO] [stdout]     |                    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/lib.rs:258:9
[INFO] [stdout]     |
[INFO] [stdout] 258 |     let mut mm = unsafe { MmapMut::map_mut(&file)? };
[INFO] [stdout]     |         ----^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: reference to packed field is unaligned
[INFO] [stdout]    --> src/lib.rs:448:32
[INFO] [stdout]     |
[INFO] [stdout] 448 |     let offs = SeekFrom::Start(offset_of!(ExampleFileHeader, endianness) as u64);
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[deny(unaligned_references)]` on by default
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #82523 <https://github.com/rust-lang/rust/issues/82523>
[INFO] [stdout]     = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced)
[INFO] [stdout]     = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers)
[INFO] [stdout]     = note: this error originates in the macro `_memoffset__raw_const` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: reference to packed field is unaligned
[INFO] [stdout]    --> src/lib.rs:468:32
[INFO] [stdout]     |
[INFO] [stdout] 468 |     let offs = SeekFrom::Start(offset_of!(ExampleFileHeader, endianness) as u64);
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #82523 <https://github.com/rust-lang/rust/issues/82523>
[INFO] [stdout]     = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced)
[INFO] [stdout]     = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers)
[INFO] [stdout]     = note: this error originates in the macro `_memoffset__raw_const` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `file` and `mm` are never read
[INFO] [stdout]    --> src/lib.rs:146:3
[INFO] [stdout]     |
[INFO] [stdout] 144 | pub struct MmapedVec<T>
[INFO] [stdout]     |            --------- fields in this struct
[INFO] [stdout] 145 | {
[INFO] [stdout] 146 |   file: File,
[INFO] [stdout]     |   ^^^^^^^^^^
[INFO] [stdout] 147 |   mm: MmapMut,
[INFO] [stdout]     |   ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors; 7 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `persistence` due to 5 previous errors; 7 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "01c790caddde05640e2f37b83bdba0a0ae06d4ae4c3c661e2a0155eadc1a573a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "01c790caddde05640e2f37b83bdba0a0ae06d4ae4c3c661e2a0155eadc1a573a", kill_on_drop: false }`
[INFO] [stdout] 01c790caddde05640e2f37b83bdba0a0ae06d4ae4c3c661e2a0155eadc1a573a
